import Layout from '@/layout/default.vue'
import { SettingOutlined } from '@ant-design/icons-vue'

export default [
    {
        path: '/system_settings',
        name: 'SystemSettings',
        redirect: '/system_settings/miniProgram',
        component: Layout,
        meta: {
            navTitle: '系统设置',
            order: 9,
            isSidebar: true,
            icon: () => h(SettingOutlined)
        },
        children: [
            {
                path: '/system_settings/miniProgram',
                meta: {
                    title: '小程序设置',
                    order: 901
                },
                component: () => import('@/view/systemSettings/miniProgram/miniProgram.vue')
            },
            {
                path: '/system_settings/share',
                meta: {
                    title: '分享设置',
                    order: 902
                },
                component: () => import('@/view/systemSettings/share/share.vue')
            },
            {
                path: '/system_settings/integral',
                meta: {
                    title: '积分设置',
                    order: 903
                },
                component: () => import('@/view/systemSettings/integral/integral.vue')
            },
            {
                path: '/system_settings/subscriptionMessageSettings',
                meta: {
                    title: '分享消息设置',
                    order: 904
                },
                component: () => import('@/view/systemSettings/subscriptionMessageSettings/subscriptionMessageSettings.vue')
            }
        ]

    }
]